// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './api/index'
import YDUI from 'vue-ydui';
import 'vue-ydui/dist/ydui.rem.css';
import store from './store'
import WXConfig from './assets/JS/weshare'
Vue.prototype.WXConfig = WXConfig;
Vue.config.productionTip = false;

Vue.use(YDUI);
import VueLazyload from 'vue-lazyload'

// Vue.use(VueLazyload, {
//   preLoad: 1.3,
//   error: require('./assets/beijing-02.png'),
//   loading: require('./assets/bsdk.png'),
//   attempt: 1
// })
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
